package com.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户登录vo")
public class UserLoginVo {


    @ApiModelProperty("登录名")   
    @NotBlank(message = "登录名不能为空")
    private String loginName;

    
    @Max(20)
    @NotNull(message = "登录密码不能为空")
    @ApiModelProperty("登录密码") 
    private String password;


}
